﻿using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;

public partial class wfrmDetalleProyecto : System.Web.UI.Page
{
    protected void Page_Load(object sender, EventArgs e)
    {
        string valor = Request.QueryString["editar"];
       
        if (valor == "editar") {
            txtCCliente.Text = "6000";
            txtCEncargo.Text = "1242";
            txtNCliente.Text = "Coca Cola";
        }
        btnRecuperarSDB.Attributes.Add("OnClick", "javascript:{window.open('wfrmSDBBuscar.aspx','CargarFoto','width=700,height=400,left=450, top=200,directories=no,location=no,menubar=no,resizable=no,scrollbars=1,status=no,toolbar=no'); windows.focus();}");
        btnBuscarSocio.Attributes.Add("OnClick", "javascript:{window.open('wfrmBusquedaElipsys.aspx','CargarFoto','width=700,height=400,left=450, top=200,directories=no,location=no,menubar=no,resizable=no,scrollbars=1,status=no,toolbar=no'); windows.focus();}");
        btnBuscarGerente.Attributes.Add("OnClick", "javascript:{window.open('wfrmBusquedaElipsys.aspx','CargarFoto','width=700,height=450,left=450, top=200,directories=no,location=no,menubar=no,resizable=no,scrollbars=1,status=no,toolbar=no'); windows.focus();}");
    }
    protected void Button4_Click(object sender, EventArgs e)
    {
        Response.Redirect("frmListaProyecto.aspx");
    }
    protected void Button5_Click(object sender, EventArgs e)
    {

    }
}
